package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sensor_type
 * 
 * @author ruoyi
 * @date 2020-09-10
 */
public class SensorType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long sensorTypeId;

    /** 传感器类型名称 */
    @Excel(name = "传感器类型名称")
    private String sensorTypeName;

    public void setSensorTypeId(Long sensorTypeId) 
    {
        this.sensorTypeId = sensorTypeId;
    }

    public Long getSensorTypeId() 
    {
        return sensorTypeId;
    }
    public void setSensorTypeName(String sensorTypeName) 
    {
        this.sensorTypeName = sensorTypeName;
    }

    public String getSensorTypeName() 
    {
        return sensorTypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sensorTypeId", getSensorTypeId())
            .append("sensorTypeName", getSensorTypeName())
            .toString();
    }
}
